package com.ruoyi.exam.mapper;

import com.ruoyi.exam.domain.ExamInfo;
import com.ruoyi.exam.vo.ExamInfoSearchVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ExamInfoMapper {

    void addExamInfo(ExamInfo info);

    void updateExamInfo(ExamInfo info);

    ExamInfo getById(int id);

    ExamInfo getLastExam();

    List<ExamInfo> getList(ExamInfoSearchVO searchVO);
    int size(ExamInfoSearchVO vo);

}
